package designMode.actionMode.visitor;

/**
 * Created by Administrator on 2018/4/15.
 */
public class VisitorTest {
    public static void main(String[] args) {
        Visitor visitor = new MyVisitor();
        Subject sub = new MySubject();
        sub.accept(visitor);
    }
}
